package com.shhic.hhplt.server.biz;

import com.shhic.hhplt.server.exceptions.CodeExhaustException;
import com.shhic.hhplt.server.exceptions.NoSerialCodeException;
import com.shhic.hhplt.server.model.SerialCode;

public interface ISerialCodeMaintaince {

	String generateSerialCode(String key) throws CodeExhaustException, NoSerialCodeException;

	void updateSerialCode(SerialCode sc);

	void notifyDeletion(String codeName);

	void retrieveSerialCode(String key, String code) throws NoSerialCodeException;

}
